/* eslint-disable */
export function createDependencyProposals(range, monaco, wordkey) {
  const TipStrs = [
    {
      label: '$message.success("")',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '提示成功！',
      insertText: '$message.success("")',
      range: range
    },
    {
      label: '$message.error("")',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '提示失败',
      insertText: '$message.error("")',
      range: range
    },
    {
      label: '$confirm',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '提示失败',
      insertText: `$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
        confirmButtonText: '确定',
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {

      }).catch(() => {

      });`,
      range: range
    },
    {
      label: 'visible',
      kind: monaco.languages.CompletionItemKind.Class,
      documentation: '弹出层设置属性是否弹出',
      insertText: 'visible',
      range: range
    },
    {
      label: '$refs',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '弹出层设置属性是否弹出',
      insertText: '$refs',
      range: range
    },
    {
      label: 'watch',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '监听属性',
      insertText: 'watch:{}',
      range: range
    },
    {
      label: 'mounted',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '进入方法',
      insertText: 'mounted(){}',
      range: range
    },
    {
      label: 'created',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '进入创建表单方法',
      insertText: 'created(){}',
      range: range
    },
    {
      label: '$apiComm',
      kind: monaco.languages.CompletionItemKind.Function,
      documentation: '进入创建api请求方法',
      insertText:
        'const param={};const apicode="";  this.$apiComm(apicode,param).then(res=>{if(res.code==0){ const {data}=res;}else{this.$message.error("");}})',
      range: range
    }
  ]
  return TipStrs
}
